/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package es.tabla.error;

import android.app.Activity;
import android.widget.TextView;

/**
 *
 * @author Chema
 */
public class ControlErrores {

    public static void depurar(Activity act, Exception e) {
        
        TextView tv = new TextView(act);
        
        tv.setText(act.getClass().toString()+": "+e);
        act.setContentView(tv);
        
    }
    
}
